<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑列表页配置</title>
<link href="html/css/css.css" rel="stylesheet" type="text/css" />
<script Language="JavaScript" src="html/js/functions.js"></script>
<script Language="JavaScript" src="html/js/ajax.js"></script>
</head>

<body>
<form action="index.php" method="post" enctype="multipart/form-data" name="form" id="form" style="margin:0px">
<input name="c" type="hidden" value="publish"  />
<input name="d" type="hidden" value="editArticleCategoryConfig"  />
<input name="mark" type="hidden" value="[$CategoryConfig.Mark]"  />
<div class="form_box">
	<div class="header">
    <img src="html/images/folder.gif" width="16" height="16" align="absmiddle" />&nbsp;编辑列表页配置</div>
  <div class="box">
    	<div class="text">
    	列表页标识:
    	</div>
        <div class="input" style="padding-left:10px;">
    		<input name="Mark" type="text" id="Mark" value="[$CategoryConfig.Mark]" disabled="disabled" style="background:#eee; color:#fff;" />       	</div>
        <div style="clear:both"></div>
    </div>
      <div class="box">
    	<div class="text">
    	列表页默认模板:
    	</div>
        <div class="input" style="padding-left:10px;">
    		<input name="Tpl" type="text" id="Tpl"  value="[$CategoryConfig.Tpl]"/>
           <br><img src="html/images/information.gif" width="16" height="16" align="absmiddle" />  模板位置是相对于[$sys.templatepath]/user/ 的位置来设定。如果分类独立设定了模板，该属性就失效！
       </div>
        <div style="clear:both"></div>
    </div>
    
    <div class="box">
    	<div class="text">
    	列表页默认格式:
    	</div>
        <div class="input" style="padding-left:10px;">
    		<input name="IndexName" type="text" id="IndexName"  value="[$CategoryConfig.IndexName]"/>
           <br><img src="html/images/information.gif" width="16" height="16" align="absmiddle" />  该项作为 目录生成格式 下面的默认页！如：index_{page}.html <br />
变量：{<a href="JavaScript:;"  onclick="InsertText('{Page}','IndexName')">Page</a>}
       </div>
        <div style="clear:both"></div>
    </div>
    
	 <div class="box">
    	<div class="text">
    	分批执行数量:
    	</div>
        <div class="input" style="padding-left:10px;">
<input name="Num" type="text" id="Num"  value="[$CategoryConfig.Num]"/>
       	</div>
        <div style="clear:both"></div>
    </div>
    
    <div class="box">
    	<div class="text">
    	最后生成时间:
    	</div>
        <div class="input" style="padding-left:10px;">
	<if $CategoryConfig.DoTime>
   <input name="DoTime" type="text" id="dotime" value="[@date('Y-m-d h:i:s',$CategoryConfig.DoTime)]" disabled="disabled" /> 
    <else>
    <font color="#FF0000"><strong><input name="dotime" type="text" id="dotime" value="还未生成分类页！！" disabled="disabled" /> </strong></font>
    </if>
       	</div>
        <div style="clear:both"></div>
    </div>
    
    </div>
</div>
<div class="form_box_bottom">
<input type="image" src="html/images/submit.gif" align="absmiddle" border="0" title="保存" id="submit" /></a>
<a href="?c=publish&d=creatCategory"><img src="html/images/arrow_rotate_anticlockwise.gif" align="absmiddle" border="0" title="生成首页" /></a>
</div>
</form>
</body>
</html>
